/**
 * gis地图跳转路由 集合
 */

 const jumpUrl = (url) => {
  window.open(url, '_blank');
}

export const url = {
  index: () => jumpUrl('/dashboard/analysis'), //首页跳转
  park: (id) => jumpUrl(`/hmhb/park/TbHmhbParkListDetail/${id}`), //园区详情
  enterprise: (id) => jumpUrl(`/hmhb/enterprise/TbEnterpriseInfoListDetail/${id}`), //企业详情
  enterpriseList: () => jumpUrl('/hmhb/enterprise/TbEnterpriseInfoList'), //企业列表
  daily: (id) => jumpUrl(`/hmhb/audit/TbEnterpriseSceneAuditListDetail/${id}`), //日常核查详情
  dailyList: () => jumpUrl('/hmhb/audit/TbEnterpriseSceneAuditList'), //日常核查列表
  sewage: (id) => jumpUrl(`/hmhb/check/TbSewageHybridSpecialCheckListDetail/${id}`), //雨污详情
  sewageList: () => jumpUrl('/hmhb/check/TbSewageHybridSpecialCheckList'), //雨污列表
  complaint: (id) => jumpUrl(`/hmhb/check/TbComplaintSpecialCheckListDetail/${id}`), //投诉
  complaintList: () => jumpUrl('/hmhb/check/TbComplaintSpecialCheckList'), //投诉列表
  other: (id) => jumpUrl(`/hmhb/check/TbOtherSpecialCheckListDetail/${id}`), //其他
  otherList: () => jumpUrl('/hmhb/check/TbOtherSpecialCheckList'), //其他列表
}